home *** CD-ROM | disk | FTP | other *** search
/ Chip 2005 March / CMCD0305.ISO / Software / Demo / Maguma / workbench-2.1.0-trial.exe / {app} / help / html_401.chm / style / w3c-rec.css < prev   
Cascading Style Sheet File  |  2004-07-19  |  2KB  |  87 lines

  1. /* Style for a "Recommendation" */
  2.  
  3. /*
  4.    Copyright 1997-2003 W3C (MIT, ERCIM, Keio). All Rights Reserved.
  5.    The following software licensing rules apply:
  6.    http://www.w3.org/Consortium/Legal/copyright-software */
  7.  
  8. /* $Id: base.css,v 1.24 2003/04/17 13:56:40 bbos Exp $ */
  9.  
  10. body {
  11.   padding: 2em 1em 2em 70px;
  12.   margin: 0;
  13.   font-family: sans-serif;
  14.   color: black;
  15.   background: white;
  16.   background-position: top left;
  17.   background-attachment: fixed;
  18.   background-repeat: no-repeat;
  19. }
  20. :link { color: #00C; background: transparent }
  21. :visited { color: #609; background: transparent }
  22. a:active { color: #C00; background: transparent }
  23.  
  24. a:link img, a:visited img { border-style: none } /* no border on img links */
  25.  
  26. a img { color: white; }        /* trick to hide the border in Netscape 4 */
  27. @media all {                   /* hide the next rule from Netscape 4 */
  28.   a img { color: inherit; }    /* undo the color change above */
  29. }
  30.  
  31. th, td { /* ns 4 */
  32.   font-family: sans-serif;
  33. }
  34.  
  35. h1, h2, h3, h4, h5, h6 { text-align: left }
  36. /* background should be transparent, but WebTV has a bug */
  37. h1, h2, h3 { color: #005A9C; background: white }
  38. h1 { font: 170% sans-serif }
  39. h2 { font: 140% sans-serif }
  40. h3 { font: 120% sans-serif }
  41. h4 { font: bold 100% sans-serif }
  42. h5 { font: italic 100% sans-serif }
  43. h6 { font: small-caps 100% sans-serif }
  44.  
  45. .hide { display: none }
  46.  
  47. div.head { margin-bottom: 1em }
  48. div.head h1 { margin-top: 2em; clear: both }
  49. div.head table { margin-left: 2em; margin-top: 2em }
  50.  
  51. p.copyright { font-size: small }
  52. p.copyright small { font-size: small }
  53.  
  54. @media screen {  /* hide from IE3 */
  55. a[href]:hover { background: #ffa }
  56. }
  57.  
  58. pre { margin-left: 2em }
  59. /*
  60. p {
  61.   margin-top: 0.6em;
  62.   margin-bottom: 0.6em;
  63. }
  64. */
  65. dt, dd { margin-top: 0; margin-bottom: 0 } /* opera 3.50 */
  66. dt { font-weight: bold }
  67.  
  68. pre, code { font-family: monospace } /* navigator 4 requires this */
  69.  
  70. ul.toc {
  71.   list-style: disc;        /* Mac NS has problem with 'none' */
  72.   list-style: none;
  73. }
  74.  
  75. @media aural {  
  76.   h1, h2, h3 { stress: 20; richness: 90 }
  77.   .hide { speak: none }
  78.   p.copyright { volume: x-soft; speech-rate: x-fast }
  79.   dt { pause-before: 20% }
  80.   pre { speak-punctuation: code } 
  81. }
  82.  
  83.  
  84.  
  85. body {
  86.   background-image: url(http://www.w3.org/StyleSheets/TR/logo-REC);
  87. }